package com.objectproject.main.dao.iface;

import com.objectproject.main.model.primitive.MyPrimitiveCollection;
import com.objectproject.main.model.primitive.MyPrimitiveDate;
import com.objectproject.main.model.primitive.MyPrimitiveImage;
import com.objectproject.main.model.primitive.MyPrimitiveInteger;
import com.objectproject.main.model.primitive.MyPrimitiveReal;
import com.objectproject.main.model.primitive.MyPrimitiveText;
import com.objectproject.main.model.primitive.MyPrimitiveTime;

public interface MyPrimitiveDAO {
	
	
	public abstract MyPrimitiveText selectMyPrimitiveText(long primitiveId);
	public abstract MyPrimitiveCollection selectMyPrimitiveCollection(long primitiveId);
	public abstract MyPrimitiveImage selectMyPrimitiveImage(long primitiveId);
	public abstract MyPrimitiveInteger selectMyPrimitiveInteger(long primitiveId);
	public abstract MyPrimitiveReal selectMyPrimitiveReal(long primitiveId);
	public abstract MyPrimitiveDate selectMyPrimitiveDate(long primitiveId);
	public abstract MyPrimitiveTime selectMyPrimitiveTime(long primitiveId);
	
	
	
	public abstract long insertMyPrimitiveText(MyPrimitiveText myPrimitiveText);
	public abstract long insertMyPrimitiveCollection(MyPrimitiveCollection myPrimitiveCollection);
	public abstract long insertMyPrimitiveImage(MyPrimitiveImage myPrimitiveImage);
	public abstract long insertMyPrimitiveInteger(MyPrimitiveInteger myPrimitiveInteger);
	public abstract long insertMyPrimitiveReal(MyPrimitiveReal myPrimitiveReal);
	public abstract long insertMyPrimitiveDate(MyPrimitiveDate myPrimitiveDate);
	public abstract long insertMyPrimitiveTime(MyPrimitiveTime myPrimitiveTime);
	
	
	public abstract void deleteMyPrimitiveText(MyPrimitiveText myPrimitiveText);
	public abstract void deleteMyPrimitiveCollection(MyPrimitiveCollection myPrimitiveCollection);
	public abstract void deleteMyPrimitiveImage(MyPrimitiveImage myPrimitiveImage);
	public abstract void deleteMyPrimitiveInteger(MyPrimitiveInteger myPrimitiveInteger);
	public abstract void deleteMyPrimitiveReal(MyPrimitiveReal myPrimitiveReal);
	public abstract void deleteMyPrimitiveDate(MyPrimitiveDate myPrimitiveDate);
	public abstract void deleteMyPrimitiveTime(MyPrimitiveTime myPrimitiveTime);


}
